@if(App\Components\MenuTools::isShowMenu(['/admin/partner/list','/admin/vip/list','/admin/user/index']))
@if((isset($admin_partner_menu) && $admin_partner_menu) || (isset($admin_vip_menu) && $admin_vip_menu) || (isset($admin_user_index) && $admin_user_index))
<li class="active treeview">
  @else
<li class="treeview">
  @endif
  <a href="#"><i class="fa fa-user"></i> <span>用户管理</span>
    <span class="pull-right-container">
      <i class="fa fa-angle-left pull-right"></i>
    </span>
  </a>
  <ul class="treeview-menu">
    @if(App\Components\MenuTools::isShowMenu(['/admin/partner/list']))
    <li @if((isset($admin_partner_menu) && $admin_partner_menu))class="active" @endif><a href="/admin/partner/list"><i class="fa fa-circle-o"></i>合伙人列表</a></li>
    @endif
    @if(App\Components\MenuTools::isShowMenu(['/admin/vip/list']))
    <li @if((isset($admin_vip_menu) && $admin_vip_menu))class="active" @endif><a href="/admin/vip/list"><i class="fa fa-circle-o"></i>会员列表</a></li>
    @endif
    @if(App\Components\MenuTools::isShowMenu(['/admin/user/index']))
    <li @if((isset($admin_user_index) && $admin_user_index))class="active" @endif><a href="/admin/user/index"><i class="fa fa-circle-o"></i>用户列表</a></li>
    @endif
    @if(App\Components\MenuTools::isShowMenu(['/admin/user/index']))
      <li @if((isset($admin_mobile_index) && $admin_mobile_index))class="active" @endif><a href="/admin/mobile/index"><i class="fa fa-circle-o"></i>移动端管理</a></li>
    @endif
  </ul>
</li>
@endif
